package com.hson.demo.soa.dao.activity;

import org.springframework.stereotype.Repository;
import com.hson.demo.soa.dao.BaseDAO;
import com.hson.demo.soa.dto.activity.TestDTO;

@Repository("activityRecordDAO")
public class ActivityRecordDAO extends BaseDAO {
	
	private static final String TABLE_NAME = "test_date";
	private static final String ID = "id";
	private static final String ID_PROPERTY = "id";
	
	public Long insert(TestDTO obj) throws Exception {
		return insertAndReturnLongId(obj, TABLE_NAME, ID_PROPERTY, true);
	}
	
}
